package com.unionftech.content_login.model

import com.unionftech.common.base.mvp.impl.BaseModel
import com.unionftech.common.bean.ResponseResult

open class BaseParentModel : BaseModel() {
    companion object {
        private const val TAG = "BaseParentModel"
    }

    /**
     * 处理登录模块的统一接口逻辑
     */
    override fun handleBusinessError(res: ResponseResult<*>): Boolean {
        return false
    }

    /**
     * 返回拦截网络请求结果之后的提示语
     */
    override fun getBusinessErrorMsg(res: ResponseResult<*>): String {
        return super.getBusinessErrorMsg(res)
    }
}